﻿@model CloudFranceTriple.Models.EventSet
@{
    ViewBag.Title = CloudFranceTriple.WebRole.Properties.Resources.CategoryDeleteTitle;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <h1>@CloudFranceTriple.WebRole.Properties.Resources.CategoryDeleteTitle</h1>
    <section>
        <h3>@CloudFranceTriple.WebRole.Properties.Resources.QuestionDelete</h3>
        <fieldset>
            <legend>EventSet</legend>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.EventTitle
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.TitleEvent)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.EventCategoryLabel
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.EventCategorySet.LabelEventCategory)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.EventDescription
            </div>
            <div class="display-field">
                @Html.DisplayTextFor(model => model.DescriptionEvent)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.EventAuthor
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.AuthorEvent)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.EventDateStart
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.DateStartEvent,"TemplateUserDateTime")
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.EventDateEnd
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.DateEndEvent,"TemplateUserDateTime")
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.EventAllDay
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.AllDayEvent)
            </div>

        </fieldset>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            <p>
                <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.ButtonDelete" />
            </p>
        }
        @Html.Partial("_EventBackToList")
    </section>
</div>
